package com.cskaoyan.service;

import com.cskaoyan.bean.data.CommentPostData;
import com.cskaoyan.bean.data.PageData;
import com.cskaoyan.bean.vo.CommentPostVo;

import java.util.List;
import java.util.Map;

/**
 * @Author Pudding
 * @Date 2024/6/12 22:55
 */
public interface CommentService {

    Map<String,Object> findByGoodsId(Integer goodsId, byte type, int page, int limit);

    PageData list(Integer valueId, Byte type, Integer page, Integer limit, Boolean showType);

    Map<String, Integer> count(Integer valueId, Byte type);

    CommentPostData post(CommentPostVo commentPostVo, Integer userId);
}
